﻿<UserControl x:Class="Resxus.View.ToolBarView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="40" Width="Auto">    
    <UserControl.Resources>
        <Style x:Key="ToolbarButtonStyle" TargetType="{x:Type Button}">
            <Setter Property="Height" Value="35"/>
            <Setter Property="Width" Value="80"/>
            <Setter Property="Margin" Value="2,0,2,0"/>
        </Style>
    </UserControl.Resources>
    <Grid
        Background="Gray"
        >
        <StackPanel             
            VerticalAlignment="Center"
            Margin="2"
            Orientation="Horizontal">
            <Button 
                Style="{StaticResource ToolbarButtonStyle}" 
                Content="Update"
                Command="{Binding UpdateCommand}"
                />
            <Button Style="{StaticResource ToolbarButtonStyle}" Content="Import"/>
            <Button Style="{StaticResource ToolbarButtonStyle}" Content="Export"/>
            <Button Style="{StaticResource ToolbarButtonStyle}" Content="Merge"/>
            <Button Style="{StaticResource ToolbarButtonStyle}" Content="Compare"/>
            
            <!-- 기능추가 버튼 이미지 -->      
            <Button Width="35" Height="35" VerticalContentAlignment="Stretch">
                <TextBlock FontSize="20" FontWeight="Bold" Text="+"/>
            </Button>
        </StackPanel>            
    </Grid>
</UserControl>
